<?php
require_once('auth_admin.php');
?>
<!DOCTYPE html>
<html>
    <link type="text/css" rel="stylesheet" href="giftgiving.css"/>
    <!-- Uncomment the line below to include javascript in your webpage -->
    <!--<script type="text/javascript" src="giftgiving.js"/>-->
    <style type="text/css">
<!--
.STYLE1 {
	font-size: 18px;
	font-weight: bold;
}
.STYLE2 {font-size: 16px}
.STYLE3 {font-size: 18px}
-->
    </style>
    <head>
        <title>Flora Home</title>
    </head>
    <body background="elegance.gif" text="#565051">
        <div id="gift-view-id">
            <!-------  Side bars  ----------------------------------------------------------->
			<div id="gift-navpane-id" class="gift-navpane">
    			<div id="gift-pets-id" class="gift-types">
                    <a href="cus_home.php" class="STYLE1">Customer Home</a>				    </div>
				 <div id="gift-pets-id" class="gift-types">
                    <a href="admin_home.php" class="STYLE1">Admin Home</a>			</div>
                    
                  <div id="gift-register-id" class="gift-types">
                   <a href="admin_reg.php" class="STYLE1">Admin Register</a>    			</div>
				<div id="gift-pets-id" class="gift-types">
                    <a href="admin_Profile.php" class="STYLE1">Admin Profile</a>			</div>
				<div id="gift-pets-id" class="gift-types gift-types">
                    <a href="admin_order.php" class="STYLE1">Order Info</a>			</div>
				<div id="gift-register-id" class="gift-types">
				    <a href="admin_customer.php" class="STYLE1">Customer Info</a>             </div>
				<div id="gift-register-id" class="gift-types">
				    <a href="Admin_flower.php" class="STYLE1">Flower Info</a>             </div>
					<div id="gift-register-id" class="gift-types-selected">
				    <a href="FlowersInput.php" class="STYLE1">Add Flower</a>             </div>
		
                <?php   
					//session_start();
					if (!isset($_SESSION['SESS_CID']) || (trim($_SESSION['SESS_CID']) == '')){
						echo '<div id="gift-register-id" class="gift-types">
							  <a href="admin_login.php" class="STYLE1">Login</a>    </div>';
					}else{
						echo '<div id="gift-register-id" class="gift-types">
								  <a href="admin_login.php" class="STYLE1">Logout</a>     </div>';
					}
				?>
    		</div>
			<!--------------Main Content----------------------------------------------------->
    		<div id="gift-choosepane-id" class="gift-choosepane">
               <!-- Note the onClick handler for this element -->
               <div id="gift-table" >
        	   <table>
        			  <th colspan="3"><span class="STYLE2">Add new flower infomation</span></th>

                      <form action="FlowersSQL.php" method="post">
					  <tr>
<td>					
name:     <input type="text" name="fname" /><br/>
category: <input type="text" name="category" /><br/>
occasion: <input type="text" name="occasion" /><br/>
quantity: <input type="text" name="quantity" /><br/>
color:    <input type="text" name="color" /><br/>
size:     <input type="text" name="size" /><br/>
price:    <input type="text" name="price" /><br/>
picture address:<input type="text" name="address" /><br/>
<input type="submit", value="submit" /><br/>
</td>
<tr>
</form>

</body>
</html>